import React, { Component } from 'react'
import {BrowserRouter ,Switch, Route,NavLink } from "react-router-dom"
// import Home from "./views/Home"
// import Classify from "./views/Classify"
// import Jingxi from "./views/Jingxi"
// import shopCar from "./views/shopCar"
// import My from "./views/My"
import routerConfig from "./router/routerConfig"
import Routerview from "./router/Routerview"
import RouterLink from "./router/RouterLick"
export class App extends Component {
  render() {
    return (
      <div className='App'>
        <BrowserRouter>
        <header></header>
        <main>
          <Routerview routerConfig={routerConfig}></Routerview>
        </main>
        <footer> <RouterLink routerConfig={routerConfig}></RouterLink></footer>
        </BrowserRouter>
      </div>
    )
  }
}

export default App
